package com.msda.pojo.entity.order;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.msda.pojo.entity.requirement.Requirement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "reservation",autoResultMap = true)
public class Reservation {

//    id: string;
//    roomId: string;
//    customerId: string;
//    requirement: Requirement; // 使用json存储
//
//    /**
//     * 预定单状态
//     * 拒绝(员工审核不通过)
//     * 确认(员工审核通过, 处于预定状态)
//     * 退款(取消订单的审核通过)
//     * 完成
//     */
//    status: 'verifying' | 'rejected' | 'confirmed' | 'refunded' | 'completed';
//    processedTime: number;
//    createdTime: number;
    @TableId
    private String id;
    private String roomId;
    private String customerId;
    private String orderId;
    private String status;
    private Long processedTime;
    private Long createdTime;


}

